package com.roc.steelend.service.Impl;


import com.roc.steelend.mapper.PayTakeMapper;
import com.roc.steelend.pojo.PayTake;
import com.roc.steelend.service.PayTakeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class PayTakeServiceImpl  implements PayTakeService {

    @Autowired
    private PayTakeMapper payTakeMapper;
    @Override
    public List<PayTake> findAllPayTake() {
        return payTakeMapper.selectList(null);
    }
}
